﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Visual/Template/padrao.master" AutoEventWireup="true" CodeFile="ListGroup.aspx.cs" Inherits="Visual_CRUD_Group_ListGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="../../../Styles/interfacemetro/css/modern-responsive.css" rel="stylesheet"
        type="text/css" />
    <link href="../../../Styles/interfacemetro/css/modern.css" rel="stylesheet" type="text/css" />
    <link href="../../../Styles/menustyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 109px;
        }
        .style2
        {
            width: 499px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="header" Runat="Server">
<div class="">
        <h1>
            Group List</h1>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:vsdbmConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:vsdbmConnectionString.ProviderName %>">
        </asp:SqlDataSource>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoDinamico" Runat="Server">


 <a class="shortcut" onclick="document.getElementById('advancedsearch').style.display='block';">
        <span class="icon"><i class="icon-search"></i></span>
        <br />
        <span class="label">Search </span></a><a class="shortcut" href="AddGroup.aspx"><span
            class="icon"><i class="icon-plus"></i></span>
            <br />
            <span class="label">New Group </span></a>
    <br />
    <div class="table hovered ">
        <asp:GridView ID="GridGroup" runat="server" Width="890px"
            AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" EmptyDataText="No registers found." 
            onrowcommand="GridGrupo_RowCommand">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
                    SortExpression="ID" />
                <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
                
                <asp:ButtonField HeaderText="Download Data" CommandName="Download" ButtonType="Button" ImageUrl="../../Imagens/plus.png" Text="Download" />
                <asp:ButtonField HeaderText="Delete" CommandName="Delete" ButtonType="Image" ImageUrl="../../Imagens/empty_trash.png" />
               
            </Columns>
            <HeaderStyle Height="30px" />
        </asp:GridView>
        <br />
    </div>
    <div class="message-dialog" id="advancedsearch" style="display: none; background-color: #2d89f0">
        <br />
        <table style="width: 100%;">
            <tr>
                <td class="style1" rowspan="2">
                    <a class="shortcut" onclick="document.getElementById('advancedsearch').style.display='none';">
                        <span class="icon"><i class="icon-cancel"></i></span><span class="label">Close
                        </span></a>
                </td>
                <td class="style2">
                    <asp:Label ID="Label1" runat="server" Text="Label">Search(Description)</asp:Label>
                    <td>
                        &nbsp;
                    </td>
                    </td>
            </tr>
            <tr>
                <td class="style2">
                    <div class="input-control text">
                        <asp:TextBox ID="txtterm" runat="server" Style="margin-left: 0px" Width="500px"></asp:TextBox>
                    </div>
                    <td>
                        <asp:ImageButton ID="btsearch" runat="server" ImageUrl="~/Visual/Imagens/botoes/btbusca.png"
                            OnClick="btsearchonclick" />
                    </td>
            </tr>
        </table>
    </div>




</asp:Content>

